package com.example.wnn.develop.other;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

public class xiufu2 {

    public static void main(String[] args) {
        try {
            Scanner scanner = new Scanner(new File("/Users/wenzheng/Desktop/shop/b.txt"));
            while (scanner.hasNextLine()) {
                System.out.print(scanner.nextLine());
            }
            scanner.close();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
    }

}
